PositionLiteOrBuilder

interface PositionLiteOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard
abstract fun getAltitude(): Int

In meters above MSL (but see issue #359)
int32 altitude = 3;
Link copied to clipboard
abstract fun getLatitudeI(): Int

The new preferred location encoding, multiply by 1e-7 to get degrees
in floating point
sfixed32 latitude_i = 1;
Link copied to clipboard

TODO: REPLACE
.meshtastic.Position.LocSource location_source = 5;
Link copied to clipboard
abstract fun getLocationSourceValue(): Int

TODO: REPLACE
.meshtastic.Position.LocSource location_source = 5;
Link copied to clipboard
abstract fun getLongitudeI(): Int

TODO: REPLACE
sfixed32 longitude_i = 2;
Link copied to clipboard
abstract fun getTime(): Int

This is usually not sent over the mesh (to save space), but it is sent
from the phone so that the local device can set its RTC If it is sent over
the mesh (because there are devices on the mesh without GPS), it will only
be sent by devices which has a hardware GPS clock.
seconds since 1970
fixed32 time = 4;